{% load reputation_access_control %}
{% load modcontext %}
{% load ajax %}

{% static_with vote_down_ model _ node.id as link_id %}
    {% if PERMISSIONS.vote_down %}
        <div class='vote'>
            <a id='{{link_id}}' 
                href='#' data="{target:'{{model}}_{{node.id}}_vote_wrapper', link:'{% url vote node_content_type,node.id,"down", vote_class %}'}" title='This game is boring'>
                [-]
            </a>
        </div>
        {% ajax_update link_id %}
    {% else %}
       <a id='{{link_id}}' title='#' href='#' rel='#reputation_overlay'>
            [-]
        </a>
        {% update_deny_message link_id reputation_overlay_content vote_down %}
        {% reputation_overlay link_id %}
    {% endif %}
{% endstatic_with %}
